﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
using System.Runtime.Serialization;
namespace ET.Score.Service.Dtos
{
    [DataContract]
    public  class ResultMessage
    {
        /// <summary>
        /// 返回状态 false:失败   true:成功
        /// </summary>
        [DataMember]
        public bool IsSuccess { get; set; }
        /// <summary>
        /// 产生状态原因
        /// </summary>
        [DataMember]
        public string Msg { get; set; }
    }

    public class LoginMessage:ResultMessage 
    {
        [DataMember]
        public string UserName { get; set; }

        [DataMember]
        public int UserId { get; set; }
    }
}
